package com.aisino.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.aisino.entity.User;
import com.aisino.mapper.PgsqlMapper;
import com.aisino.service.PgsqlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PgsqlServiceImpl extends ServiceImpl<PgsqlMapper, User> implements PgsqlService {
    @Autowired
    private PgsqlMapper pgsqlMapper;
    @Override
    public List<User> getUsers() {
        return pgsqlMapper.selectList(null);
    }
}
